/**
 ** This file is part of FK Klistret Extensions. FK Klistret Extensions 
 ** is free software: you can redistribute it and/or modify it under the 
 ** terms of the GNU General Public License as published by the Free 
 ** Software Foundation, either version 3 of the License, or (at your option) 
 ** any later version.

 ** FK Klistret Extensions is distributed in the hope that it will be 
 ** useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 ** General Public License for more details. You should have received a
 ** copy of the GNU General Public License along with FK Klistret Extensions. 
 ** If not, see <http://www.gnu.org/licenses/>
 */
package se.fk.klistret.console.ui;

/**
 * 2011-07-11, The comments below are from 2005 and the code is has since
 * upgraded to the Ant 1.8 platform. The patterns and design of this project
 * should not be reused since they are not considered of any quality. The code
 * was written quickly without long term concerns.
 * <p>
 * 
 * TextMenuContainer is implemented by TextMenu only in the text based menu
 * framework. Currently, the main benifit of this class is to identify TextMenu
 * objects from TextMenuItem objects since TextMenu extends TextMenuItem.
 *  
 * @author Matthew Young
 */
public interface TextMenuContainer {

	/**
	 * Removes the a TextMenuComponent (dvs either a TextMenu or TextMenuItem).
	 * <p>
	 * 
	 * @param component
	 *            <code>TextMenuComponent</code>
	 * 
	 */
	void remove(TextMenuComponent component);

}
